package edu.je.zuul.client;

import com.junqson.je.common.model.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Descriptions
 * @Company
 * @Author Junqson
 * @Date 2020/1/30 22:27
 * @Version 1.0
 */
@FeignClient("je-user")
public interface UserClient {
    @GetMapping("/loadUser")
    ApiResult loadUser(@RequestParam("userId") Integer userId);
}
